package com.one.apartmentsystem.app.service;

import com.one.apartmentsystem.app.domain.HousesInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.one.apartmentsystem.app.dto.PageDTO;
import com.one.apartmentsystem.app.vo.HouseDetailsVO;
import com.one.apartmentsystem.app.vo.PageResultVO;

import java.util.List;

/**
* @author mpk16
* @description 针对表【houses_info】的数据库操作Service
* @createDate 2024-08-03 13:39:49
*/
public interface HousesInfoService extends IService<HousesInfo> {

    PageResultVO<HouseDetailsVO> pageList(PageDTO pageDTO);

    HouseDetailsVO getHouseDetail(String contractId);

    List<HouseDetailsVO> getHouseByUserId(Long userId);
}
